﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;

namespace mozhi.smarterp.Business.Sales.Repositories
{
    public interface ISaleDeliveryRepository : IDocumentRepository<SaleDelivery , Guid>
    {
        Task<List<SaleDelivery>> GetPagedListAsync(string keyword, string number, Guid? customerId, Guid? currencyId, int skipCount, int maxResultCount, string sorting, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken));

        Task<long> GetCountAsync(string keyword, string number, Guid? customerId, Guid? currencyId, Guid? excludeId, CancellationToken cancellationToken = default(CancellationToken));
    }
}
